package com.jie.erp.springbootjieerp.service;

import com.jie.erp.springbootjieerp.bean.JepRole;
import com.jie.erp.springbootjieerp.bean.JepUser;

import java.util.List;

public interface JepUserService {

    public JepUser  selectByUserAndPass(String username,String password);

    public List<JepUser> selectUsers();

    public List<JepRole> selectUserAndRole(Integer userId);

    public void assignRoleByUser(Integer userId, String roles);

    public JepUser getUserById(Integer userId);


    public void deleteUserById(Integer userId);


    public void saveUser(JepUser user);


    public void updateUser(JepUser user);


}
